package com.mdinfo.system.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/11/22.
 * 角色-权限
 */
@Data
@TableName("sys_role_menu")
public class SysRoleMenu extends Model<SysRoleMenu> {

    private Integer id;
    private Integer roleId;
    private Integer menuId;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
